package net.dgg.dggcloud.service.jrcrm.entity.customer;

import net.dgg.dggcloud.service.entity.BaseEntity;
import net.dgg.dggcloud.service.entity.user.User;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName: CustomerForm-客户表单信息表
 * @Description: 用于客户表单基本信息维护
 * @Author: 罗金
 * @Date: 2018年5月29 14:22:26
 * @Version V1.0
 */

@Entity
@Table(name = "cus_form_customer")
public class CustomerForm implements Serializable {

    //数据库表名
    public static final String TABLE_NAME = "cus_form_customer";
    /**
     * 序列 化号
     */
    private static final long serialVersionUID = -540287793770056213L;

    @Id
    @Column(name = "id")
    private Long id;

    /**
     * 金额
     */
    @Column(name = "money")
    private Long money;

    /**
     * 生日
     */
    @Column(name = "birthday")
    private Date birthday;



     /* 是否有房
     */
    @Column(name = "is_house")
    private Integer isHouse;

    /**
     * 是否有车
     */
    @Column(name = "is_car")
    private Integer isCar;

    /**
     * 是否有公积金
     */
    @Column(name = "is_fund")
    private Integer isFund;

    /**
     * 是否有保单
     */
    @Column(name = "is_guarantee_slip")
    private Integer isGuaranteeSlip;

    /**
     * 是否有信用卡
     */
    @Column(name = "is_credit_card")
    private Integer isCreditCard;

    /**
     * 是否有社保
     */
    @Column(name = "is_social_security")
    private Integer isSocialSecurity;

    /**
     * 其他   1 微粒贷  2  芝麻
     */
    @Column(name = "is_other")
    private Integer isOther;

    /**
     * 客户来源
     */
    @Column(name = "is_other_value")
    private Long otherValue;

    /**
     * 商品房
     */
    @Column(name = "is_building")
    private Integer isBuilding;

    /**
     * 商铺
     */
    @Column(name = "is_shop")
    private Integer isShop;

    /**
     * 写字楼
     */
    @Column(name = "is_office")
    private Integer isOffice;

    /**
     * 客户号码(手机、座机、微信、QQ)
     */
    @Column(name = "phone")
    private String phone;

    @Column(name = "phone_bak")
    private String phoneBak;

    @Column(name = "age")
    private Integer age;

    /**
     * 客户名称
     */
    @Column(name = "name")
    private String name;

    /**
     * 创建时间
     * @return
     */
    @Column(name = "create_time")
    private Date createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMoney() {
        return money;
    }

    public void setMoney(Long money) {
        this.money = money;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Integer getIsHouse() {
        return isHouse;
    }

    public void setIsHouse(Integer isHouse) {
        this.isHouse = isHouse;
    }

    public Integer getIsCar() {
        return isCar;
    }

    public void setIsCar(Integer isCar) {
        this.isCar = isCar;
    }

    public Integer getIsFund() {
        return isFund;
    }

    public void setIsFund(Integer isFund) {
        this.isFund = isFund;
    }

    public Integer getIsGuaranteeSlip() {
        return isGuaranteeSlip;
    }

    public void setIsGuaranteeSlip(Integer isGuaranteeSlip) {
        this.isGuaranteeSlip = isGuaranteeSlip;
    }

    public Integer getIsCreditCard() {
        return isCreditCard;
    }

    public void setIsCreditCard(Integer isCreditCard) {
        this.isCreditCard = isCreditCard;
    }

    public Integer getIsSocialSecurity() {
        return isSocialSecurity;
    }

    public void setIsSocialSecurity(Integer isSocialSecurity) {
        this.isSocialSecurity = isSocialSecurity;
    }

    public Integer getIsOther() {
        return isOther;
    }

    public void setIsOther(Integer isOther) {
        this.isOther = isOther;
    }

    public Long getOtherValue() {
        return otherValue;
    }

    public void setOtherValue(Long otherValue) {
        this.otherValue = otherValue;
    }

    public Integer getIsBuilding() {
        return isBuilding;
    }

    public void setIsBuilding(Integer isBuilding) {
        this.isBuilding = isBuilding;
    }

    public Integer getIsShop() {
        return isShop;
    }

    public void setIsShop(Integer isShop) {
        this.isShop = isShop;
    }

    public Integer getIsOffice() {
        return isOffice;
    }

    public void setIsOffice(Integer isOffice) {
        this.isOffice = isOffice;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhoneBak() {
        return phoneBak;
    }

    public void setPhoneBak(String phoneBak) {
        this.phoneBak = "";
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}